package com.mengniu.commerce.collect.service;

import com.mengniu.commerce.common.core.utils.SpringUtils;


/**
 * @author: dgyu-398305246@qq.com
 * @createTime: 2023年11月28 12:47:24
 * @description: 微盟推送数据策略
 */
public interface IPushStrategy {

    String BASE_NAME = "PushStrategy";

   /**
     * 推送
     */
    static Object  push(Long bosId,String beanName,String entity) {
     IPushStrategy instance = SpringUtils.getBean(beanName+BASE_NAME);
     return instance.push(bosId,entity);

    }


    /**
     * 推送
     */

    Object push(Long bosId,String entity);

}
